package com.powernode.spring6.bean;

public class Test {
    public static void main(String[] args) {
        Husband husband = new Husband();
        husband.setName("zhangsan");
        Wife wife=new Wife();
        wife.setName("lisi");
        wife.setHusband(husband);
        husband.setWife(wife);
        System.out.println(husband);
    }
}
